<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta name="csrf-param" content="_csrf-backend">
<meta name="csrf-token" content="1mjDoYM32uGmY1pDx5M8IYhBuhwWB3WZfyXd9CgwynSzJaXl2UKfjuRWCS2k8Hpz_wiObGNCAMEmY5egbVv_Jg==">
    <title>创建</title>

    {include file="public/meta"/}

<script>

</script>

</head>
<body class="hold-transition sidebar-mini fixed">
<div class="wrapper-content">
    <section class="content-header">
        <a href="/backend/addons/rf-article/article/edit" class="rfHeaderFont">
            <i class="glyphicon glyphicon-refresh"></i> 刷新
        </a>
                    <a href="javascript:history.go(-1)" class="rfHeaderFont">
                <i class="fa fa-mail-reply"></i> 返回
            </a>
                        <ol class="breadcrumb"><li><a href="/backend/addons/rf-article/article/edit"><i class="fa fa-dashboard"></i>RF</a></li>
<li class="active">内容管理</li>
<li><a href="/backend/addons/rf-article/article/index">文章管理</a></li>
<li class="active">创建</li>
</ol>    </section>

    <section class="content">
        <div class="row">

            <div class="col-md-12">
                
<div class="row">
    <div class="col-lg-12">
        <div class="box">
            <div class="box-header with-border">
                <h3 class="box-title">基本信息</h3>
            </div>
            <form id="w0" action="/backend/addons/rf-article/article/edit" method="post">
<input type="hidden" name="_csrf-backend" value="1mjDoYM32uGmY1pDx5M8IYhBuhwWB3WZfyXd9CgwynSzJaXl2UKfjuRWCS2k8Hpz_wiObGNCAMEmY5egbVv_Jg==">            <div class="box-body">
                <div class="form-group field-article-title required">
<div class='col-sm-1 text-right'><label class="control-label" for="article-title">标题</label></div><div class='col-sm-11'><input type="text" id="article-title" class="form-control" name="Article[title]" aria-required="true"><div class="help-block"></div></div>
</div>                <div class="form-group field-article-author">
<div class='col-sm-1 text-right'><label class="control-label" for="article-author">作者</label></div><div class='col-sm-11'><input type="text" id="article-author" class="form-control" name="Article[author]" value=""><div class="help-block"></div></div>
</div>                <div class="form-group field-article-sort required">
<div class='col-sm-1 text-right'><label class="control-label" for="article-sort">排序</label></div><div class='col-sm-11'><input type="text" id="article-sort" class="form-control" name="Article[sort]" value="0" aria-required="true"><div class="help-block"></div></div>
</div>                <div class="form-group field-article-cate_id">
<div class='col-sm-1 text-right'><label class="control-label" for="article-cate_id">分类</label></div><div class='col-sm-11'><div class="kv-plugin-loading loading-article-cate_id">&nbsp;</div><select id="article-cate_id" class="form-control" name="Article[cate_id]" data-s2-options="s2options_d6851687" data-krajee-select2="select2_138e92d5" style="width: 1px; height: 1px; visibility: hidden;">
<option value="">请选择</option>
<option value="4"> 一级002</option>
<option value="1"> 一级</option>
<option value="2">　　├── 二级1</option>
<option value="5">　　　　└── 三级01</option>
<option value="3">　　└── 二级2</option>
</select><div class="help-block"></div></div>
</div>
                <div class="form-group field-article-cover required">
<div class='col-sm-1 text-right'><label class="control-label" for="article-cover">封面</label></div><div class='col-sm-11'>

<div class="rf-row">
    <div class="col-sm-12">
        <div class="upload-list">
            <ul id="d41d8cd98f00b204e9800998ecf8427e1103222bede6212ee03f28ddcd0d7978" data-name="Article[cover]" data-boxId="d41d8cd98f00b204e9800998ecf8427e1103222bede6212ee03f28ddcd0d7978" data-multiple="">

                <li class="upload-box ">
                    <i class="fa fa-cloud-upload"></i>
                   <div class="upload-box-bg hide befor-upload">
                       <a class="first" href="" data-toggle='modal' data-target='#ajaxModalMax'>选择文件</a>
                    </div>
                </li>

            </ul>
        </div>
    </div>
</div>

<!--模板-->

                    <div class="help-block"></div></div>
</div>                <div class="form-group field-article-description">
<div class='col-sm-1 text-right'><label class="control-label" for="article-description">简介</label></div><div class='col-sm-11'><textarea id="article-description" class="form-control" name="Article[description]"></textarea><div class="help-block"></div></div>
</div>                <div class="form-group field-article-content">
<div class='col-sm-1 text-right'><label class="control-label" for="article-content">内容</label></div><div class='col-sm-11'><textarea id="article-content" name="Article[content]"></textarea><div class="help-block"></div></div>
</div>                <div class="row">
                    <div class="col-lg-12">
                        <div class="form-group field-article-created_at">
<div class='col-sm-1 text-right'><label class="control-label" for="article-created_at">创建时间</label></div><div class='col-sm-11'><div id="article-created_at-datetime" class="input-group  date"><span class="input-group-addon kv-datetime-picker" title="日期和时间"><i class="glyphicon glyphicon-calendar kv-dp-icon"></i></span><span class="input-group-addon kv-datetime-remove" title="清除"><i class="glyphicon glyphicon-remove kv-dp-icon"></i></span><input type="text" id="article-created_at" class="form-control" name="Article[created_at]" value="2019-12-10 11:33:28" data-datetimepicker-source="article-created_at-datetime" data-datetimepicker-type="2" data-krajee-datetimepicker="datetimepicker_648a00bd"></div><div class="help-block"></div></div>
</div>                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-12">
                        <div class="form-group field-article-position">
<div class='col-sm-1 text-right'><label class="control-label">推荐位</label></div><div class='col-sm-11'><input type="hidden" name="Article[position]" value=""><div id="article-position"><label><input type="checkbox" name="Article[position][]" value="1"> 首页</label>
<label><input type="checkbox" name="Article[position][]" value="2"> 列表</label>
<label><input type="checkbox" name="Article[position][]" value="4"> 内页</label></div><div class="help-block"></div></div>
</div>                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-12">
                        <div class="form-group field-article-tags">
<div class='col-sm-1 text-right'><label class="control-label">标签</label></div><div class='col-sm-11'><input type="hidden" name="Article[tags]" value=""><div id="article-tags"><label><input type="checkbox" name="Article[tags][]" value="2"> 222</label></div><div class="help-block"></div></div>
</div>                    </div>
                </div>
                <div class="form-group field-article-link">
<div class='col-sm-1 text-right'><label class="control-label" for="article-link">外链</label></div><div class='col-sm-11'><input type="text" id="article-link" class="form-control" name="Article[link]" value=""><div class="help-block"></div></div>
</div>                <div class="form-group field-article-status">
<div class='col-sm-1 text-right'><label class="control-label">状态</label></div><div class='col-sm-11'><input type="hidden" name="Article[status]" value=""><div id="article-status" role="radiogroup"><label><input type="radio" name="Article[status]" value="1" checked> 启用</label>
<label><input type="radio" name="Article[status]" value="0"> 禁用</label></div><div class="help-block"></div></div>
</div>            </div>
            <div class="box-footer text-center">
                <button class="btn btn-primary" type="submit">保存</button>
                <span class="btn btn-white" onclick="history.go(-1)">返回</span>
            </div>
            </form>        </div>
    </div>
</div>            </div>
        </div>
    </section>
    </div>


{include file="public/footer-script" /}

<script>jQuery(function ($) {
    window.select2_138e92d5 = {"allowClear":true,"theme":"krajee","width":"100%","placeholder":"请选择","language":"zh-CN"};

    window.datetimepicker_648a00bd = {"bootcssVer":3,"icontype":"glyphicon","fontAwesome":false,"icons":{"leftArrow":"glyphicon-arrow-left","rightArrow":"glyphicon-arrow-right"},"format":"yyyy-mm-dd hh:ii","todayHighlight":true,"autoclose":true,"todayBtn":true,"timezone":"Asia\/Shanghai","language":"zh-CN"};

if (jQuery('#article-cate_id').data('select2')) { jQuery('#article-cate_id').select2('destroy'); }

jQuery.when(jQuery('#article-cate_id').select2(select2_138e92d5)).done(initS2Loading('article-cate_id','s2options_d6851687'));

jQuery('#article-created_at-datetime').datetimepicker(datetimepicker_648a00bd);

});
</script>

</body>
</html>

